import {Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, EventEmitter, Output} from '@angular/core';

@Component({
  selector: 'add-player-btn',
  templateUrl: './add-player-btn.component.html',
  styleUrls: ['./add-player-btn.component.scss'],
  encapsulation: ViewEncapsulation.None,
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class AddPlayerBtnComponent implements OnInit {
  @Output()
  btnClick: EventEmitter<boolean> = new EventEmitter();
  constructor() { }

  ngOnInit() {
  }
  btnClickFn() {
    this.btnClick.emit(true);
  }
}
